package com.exchange.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.exchange.entity.pojo.DetailPower;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Author : RulerWood
 * @Data : 2024/5/9 - 16:24
 */
@Data
public class PowerStatusVo implements Serializable {

    private Long id;

    /**
     * 所属电柜
     */
    @TableField(value = "pid")
    private Long pid;

    /**
     * 电柜编号
     */
    @TableField(value = "pname")
    private String pname;

    /**
     * 0：正常1：损坏
     */
    @TableField(value = "status")
    private Integer status;

    private Date createTime;

    private Date updateTime;
    private List<DetailPower> detailPowerList=new ArrayList<>();

}
